﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Register.BLL;
using Register.Command;
using System.Configuration;
using System.Web.Script.Serialization;
using Register.Model;

namespace RegisterWeb
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            List<AdminInfo> list = new List<AdminInfo>();
            list = AdminInfoBLL.GetPagedAdminInfo(10, 1, " 1=1 ");
            JavaScriptSerializer jss = new JavaScriptSerializer();
            Response.Write(jss.Serialize(list));
        }
    }
}